package com.anyonavinfo.cpaddemo.view.settingsview.wifipw;

import com.anyonavinfo.cpaddemo.BasePresenter;
import com.anyonavinfo.cpaddemo.BaseView;

/**
 * Created by ZuiC on 2017/2/4.
 */

public class WifiPwSettingContract {

    interface View extends BaseView<Presenter>{
        void showResult(String result,boolean isShow);
        void showProgressBar(boolean isShow);
        void showWifiPwSettingView(boolean isShow);
        void showConfirmResetPwView(boolean isShow);
    }

    interface Presenter extends BasePresenter{
        void submitPassWord(String newPw, String confirmPw);
        void confirmResultInfo();
        void onResetPassWord();
        void resetPassWord();
        void cancelResetPw();
    }
}
